home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 7661 / 7661.xpi / chrome / isreaditlater.jar / content / login.xul < prev    next >
Extensible Markup Language  |  2009-12-10  |  7KB  |  123 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE window SYSTEM "chrome://isreaditlater/locale/isreaditlater.dtd">
  4.  
  5. <?xml-stylesheet href='chrome://global/content/xul.css' type="text/css"?>
  6. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  7. <?xml-stylesheet href="chrome://isreaditlater/skin/ril.css" type="text/css"?>
  8.  
  9.  
  10. <dialog id="RIL_login"
  11.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.         title="Read It Later"
  13.         buttons="false"
  14.         onload="return true;"
  15.         ondialogaccept="RILlogin.checkEnterKey();return false"
  16.         persist="screenX screenY"
  17.         class="">
  18.  
  19.     <hbox id="RIL_login_wrapper">
  20.                 <hbox id="RIL_login_wrapper_inner">
  21.                         
  22.                 <vbox id="RIL_login_panel_choice" class="RIL_login_panel" hidden="false" align="center">
  23.                         
  24.                         <vbox id="RIL_logo" />
  25.                          
  26.                         <label style="text-align:center" class="RIL_main_label">Keep one list across multiple computers, phone, and all of the apps that support Read It Later.</label>
  27.                         
  28.                         <hbox align="center">
  29.                                 <spacer flex="1" />
  30.                                 <button oncommand="RILlogin.showPanel('signup');" label="Create an account"  />
  31.                                 <button oncommand="RILlogin.showPanel('login');" label="Login" />
  32.                                 <spacer flex="1" />
  33.                         </hbox>
  34.                         
  35.                         <vbox class="RIL_panel_footer" align="center">
  36.                                 <label value="Don't need that fancy stuff?" />
  37.                                 <label class="text-link" onclick="RILlogin.noAccount()" value="&ril.useNoAccount;" />
  38.                         </vbox>
  39.                         
  40.                 </vbox>
  41.                 
  42.                 <vbox id="RIL_login_panel_login" class="RIL_login_panel" hidden="true">
  43.                         
  44.                         <label class="RIL_main_label">Login into Read It Later:</label>
  45.                                                 
  46.                         <grid>
  47.                                 <columns>
  48.                                         <column flex="2" />
  49.                                         <column flex="1" />
  50.                                 </columns>
  51.                                 
  52.                                 <rows>    
  53.                                         <row>
  54.                                                 <vbox><label class="RIL_field_label" flex="2">&ril.Username;:</label></vbox>
  55.                                                 <textbox flex="1" id="RIL_login_username" style="max-height:20px"/>
  56.                                         </row>
  57.                                         <row>
  58.                                                 <vbox><label class="RIL_field_label" flex="2">&ril.Password;:</label></vbox>
  59.                                                 <textbox type="password" flex="1" id="RIL_login_password" style="max-height:20px"/>
  60.                                         </row>
  61.                                         <row>
  62.                                                 <label flex="2"> </label>
  63.                                                 <hbox align="right">
  64.                                                         <spacer flex="1" />
  65.                                                         <button oncommand="RILlogin.login();" flex="2" label="Login" />
  66.                                                 </hbox>
  67.                                         </row>
  68.                                 </rows>
  69.                         </grid>
  70.                         
  71.                         <hbox class="RIL_panel_footer" align="center">
  72.                                 <label class="text-link" href="http://readitlaterlist.com/forgot/" value="Forgot your password?" />
  73.                                 <label value=" | " />
  74.                                 <label class="text-link" onclick="RILlogin.showPanel('signup');" value="Need an account instead?" />
  75.                         </hbox>
  76.                 </vbox>
  77.                 
  78.                 <vbox id="RIL_login_panel_signup" class="RIL_login_panel" hidden="true">
  79.                         
  80.                         <label class="RIL_main_label" value="Create an account:" />
  81.                         
  82.                         <grid>
  83.                                 <columns>
  84.                                         <column flex="2" />
  85.                                         <column flex="1" />
  86.                                 </columns>
  87.                                 
  88.                                 <rows>    
  89.                                         <row>
  90.                                                 <vbox><label class="RIL_field_label" flex="2">&ril.Username;:</label></vbox>
  91.                                                 <textbox flex="1" id="RIL_signup_username" style="max-height:20px"/>
  92.                                         </row>
  93.                                         <row>
  94.                                                 <vbox><label class="RIL_field_label" flex="2">&ril.Password;:</label></vbox>
  95.                                                 <textbox type="password" flex="1" id="RIL_signup_password" style="max-height:20px"/>
  96.                                         </row>
  97.                                         <row>
  98.                                                 <label flex="2"> </label>
  99.                                                 <hbox align="right">
  100.                                                         <spacer flex="1" />
  101.                                                         <button oncommand="RILlogin.signup();" flex="2" label="Create Account" />
  102.                                                 </hbox>
  103.                                         </row>
  104.                                 </rows>
  105.                         </grid>
  106.                         
  107.                         <hbox class="RIL_panel_footer" align="center">
  108.                                 <label class="text-link" href="http://readitlaterlist.com/why/" value="Why do I need an account?" />
  109.                                 <label value=" | " />
  110.                                 <label class="text-link" onclick="RILlogin.showPanel('login');" value="Need to login instead?" />
  111.                         </hbox>
  112.                         
  113.                 </vbox>        
  114.                 </hbox>
  115.     </hbox>
  116.         
  117.                 <stringbundleset id="stringbundleset">
  118.                 <stringbundle id="RIL_strings" src="chrome://isreaditlater/locale/jsstrings.properties"/>
  119.                 </stringbundleset>
  120.                 
  121.                 <script type="application/x-javascript" src="chrome://isreaditlater/content/RIL.js" />
  122.                 <script type="application/x-javascript" src="chrome://isreaditlater/content/RILlogin.js" />
  123. </dialog>